#ifndef _SGE_EDITOR_SCENE_H_
#define _SGE_EDITOR_SCENE_H_

#include "IEditorComponent.h"

namespace irr
{
	namespace scene
	{
		class ISceneManager;
		class ICameraSceneNode;
	}
	namespace video
	{
		class IVideoDriver;
		class ITexture;
	}
}

class EditorScene:public IEditorComponent
{
public:
	EditorScene(Editor* editor);
	virtual ~EditorScene();

	void init();
	void render();
	void onPreEdit();
	void onPostEdit();

private:
	irr::scene::ISceneManager* smgr;
	irr::video::IVideoDriver* driver;
	irr::scene::ICameraSceneNode* camera,*oldCam;
	irr::video::ITexture* entityMarker;
};

#endif